<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type=text/javascript>
jQuery(document).ready(function(){

	/*Set the default icon*/
	chrome.browserAction.setIcon({path:"friends.png"});


	/*check if the IAmIntoThis extension exists*/
	var check_port = chrome.extension.connect("hidjomilpnkmhoifkhkpgdcnnpjbpabe");
	check_port.onDisconnect.addListener(function(msg) {
		//DO NOTHING
		return ;
	});


	/*Wait for a signal from IAmIntoThis extension*/
	chrome.extension.onConnectExternal.addListener(function(port) {
		port.onMessage.addListener(function(msg) {
			/*Highlight the extension icon for the specific tab!*/
			chrome.browserAction.setIcon({path:"friendsHL.png", tabId:msg.link});
		});
	});





});
</script>